package com.an;

import org.dromara.easyes.starter.register.EsMapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;

/**
 * 启动程序
 *
 * @author: Ann
 * @createDate: 2023/05/11 16:56:51
 * @version: 1.0.0
 */

@SpringBootApplication
@EsMapperScan("com.an.**.**.esmapper")
public class AnnApplication {

    public static void main(String[] args) {
        System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication application = new SpringApplication(AnnApplication.class);
        application.setApplicationStartup(new BufferingApplicationStartup(2048));
        application.run(args);
        System.out.println("(♥◠‿◠)ﾉﾞ  Ann-Blog-Plus启动成功   ლ(´ڡ`ლ)ﾞ");
    }

}
